<?php
namespace app\common\model;
/**
 * @Author: qian 
 * @Date:   2019-09-16 09:56:04
 * @Last Modified by:   qian
 * @Last Modified time: 2019-09-16 10:08:08
 */
use think\Model;
use think\Db;
/**
 * 
 */
class Goodscommon extends Model
{
	
	public function setGoodsCommonPlatformPrice($goods_commonid, $update) {
		return $this->where(['goods_commonid' => $goods_commonid])->update($update);
	}

    /**
     * @description: 通用的更新  @MrLiu
     * @param $condition
     * @param $data
     * @return $this
     */
	public function commonGoodsUpdate($condition, $data)
    {
        return $this->where($condition)->update($data);
    }

}